/* _____________________________________________________________________________

	Project: The Effects of Independent Local Radio on Tanzanian Public Opinion: Evidence from a Planned Natural Experiment
	Authors: Donald P. Green, Dylan Groves, Constantine Manda, Beatrice Montano, Bardia Rahmani
	
	Purpose: Master do file for replication
	Date: 2022.10
________________________________________________________________________________*/


/* Introduction ________________________________________________________________*/
	
	clear all	
	set more off	
	
	* ssc install texdoc
	* need to install package dm79. (1) run: "search matselrc", (2) follow links to install the package
	* ssc install coefplot
	
/* Set Control Directory _______________________________________________________*/

	*global user "X:/Dropbox/Wellspring Tanzania Papers/Wellspring Tanzania - Natural Experiment/pfm_ne_replication"
	
/* Analysis ____________________________________________________________________*/

	do "${user}/pfm_ne_replication_analysis_balance.do"
	do "${user}/pfm_ne_replication_analysis_balance_village.do"

	do "${user}/pfm_ne_replication_analysis.do"
	do "${user}/pfm_ne_replication_analysis_diffINdiff.do"
	do "${user}/pfm_ne_replication_analysis_spillover.do"
	
/* Tables ______________________________________________________________________*/

	texdoc do "${user}/pfm_ne_replication_t1_uptake.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA1_samplesummary.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA2_afrobarometer.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA3_balance.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA4_interestknowledge.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA5_gender.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA6_values.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA7_interestknowledge_nolasso.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA8_gender_nolasso.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA9_values_nolasso.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA10_ptixpart.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA11_nonpfm.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA12_diffINdiff_emfm.texdoc"
	texdoc do "${user}/pfm_ne_replication_tA13_diffINdiff_ipv.texdoc"

/* Figures _____________________________________________________________________*/

	do "${user}/pfm_ne_replication_f3_coefplots_lasso.do"
	do "${user}/pfm_ne_replication_fa7_coefplots_spill.do"
